/**
* ...
* @author Default
* @version 0.1
*/

package fr.red5.components {
	
	import mx.controls.*;
	import mx.containers.*;
	import mx.core.*;
	import fr.red5.events.*
	import fr.red5.components.ui.*
	import flash.events.*;
	
	public class WebCamera extends Canvas {
	
		public function WebCamera(){
			super();
			initUI();
		}
		
		private function initUI():void 
		{
			var webcam_ui:WebcamUI = new WebcamUI();
			addChild(webcam_ui);
		}
		
		override protected function createChildren():void
		{
			super.createChildren();

		}
		
		public function onTest(e:Event):void {
			Alert.show("Webcam onConnect :)");
		}
		
		override public function toString():String {
			return "[WebCamera]";
		}
	}
	
}
